using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using ZombieHigh2.GameInput;

namespace ZombieHigh2.Controller
{
    public class Human : BaseController
    {
        public override void Update(float dt)
        {
            ControlData.ZeroData();
            //InputManager.Instance.Update();

            if (InputManager.Instance.Pressed(Buttons.A))
                ControlData.APressed = true;
            if (InputManager.Instance.Pressed(Buttons.B))
                ControlData.BPressed = true;
            if (InputManager.Instance.Pressed(Buttons.X))
                ControlData.XPressed = true;
            if (InputManager.Instance.Pressed(Buttons.Y))
                ControlData.YPressed = true;

            ControlData.LAnalog = InputManager.Instance.LeftAnalog;
            ControlData.RAnalog = InputManager.Instance.RightAnalog;
        }

    }
}
